<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Protocols  Reference</title>
    <link rel="stylesheet" type="text/css" href="css/jazzy.css" />
    <link rel="stylesheet" type="text/css" href="css/highlight.css" />
    <meta charset='utf-8'>
    <script src="js/jquery.min.js" defer></script>
    <script src="js/jazzy.js" defer></script>
    
  </head>
  <body>
    <a name="//apple_ref/swift/Section/Protocols" class="dashAnchor"></a>
    <a title="Protocols  Reference"></a>
    <header>
      <div class="content-wrapper">
        <p><a href="index.html">Restofire Docs</a> (85% documented)</p>
      </div>
    </header>
    <div class="content-wrapper">
      <p id="breadcrumbs">
        <a href="index.html">Restofire Reference</a>
        <img id="carat" src="img/carat.png" />
        Protocols  Reference
      </p>
    </div>
    <div class="content-wrapper">
      <nav class="sidebar">
        <ul class="nav-groups">
          <li class="nav-group-name">
            <a href="Classes.html">Classes</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Classes/AnyResponseSerializer.html">AnyResponseSerializer</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/DownloadOperation.html">DownloadOperation</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/NetworkOperation.html">NetworkOperation</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/RequestOperation.html">RequestOperation</a>
              </li>
              <li class="nav-group-task">
                <a href="Classes/UploadOperation.html">UploadOperation</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Enums.html">Enumerations</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Enums/ParametersType.html">ParametersType</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Extensions.html">Extensions</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Extensions/JSONEncoding.html">JSONEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Extensions/Result.html">Result</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Protocols.html">Protocols</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Protocols/ArrayParameterEncoding.html">ArrayParameterEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Authenticable.html">Authenticable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/BackgroundQosable.html">BackgroundQosable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/BaseRequestable.html">BaseRequestable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Cancellable.html">Cancellable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Configurable.html">Configurable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/CoreDataSyncable.html">CoreDataSyncable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/DataUploadable.html">DataUploadable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/DefaultQosable.html">DefaultQosable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Downloadable.html">Downloadable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/FileUploadable.html">FileUploadable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/HighQueuePriortizable.html">HighQueuePriortizable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/LowQueuePriortizable.html">LowQueuePriortizable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/MultipartUploadable.html">MultipartUploadable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/NormalQueuePriortizable.html">NormalQueuePriortizable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Pollable.html">Pollable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Qosable.html">Qosable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/QueuePriortizable.html">QueuePriortizable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Queueable.html">Queueable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Reachable.html">Reachable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/RequestDelegate.html">RequestDelegate</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Requestable.html">Requestable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/ResponseSerializable.html">ResponseSerializable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Retryable.html">Retryable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/SessionManagable.html">SessionManagable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/StreamUploadable.html">StreamUploadable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Syncable.html">Syncable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Uploadable.html">Uploadable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/UserInitiatedQosable.html">UserInitiatedQosable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/UserInteractiveQosable.html">UserInteractiveQosable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/UtilityQosable.html">UtilityQosable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/Validatable.html">Validatable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/VeryHighQueuePriortizable.html">VeryHighQueuePriortizable</a>
              </li>
              <li class="nav-group-task">
                <a href="Protocols/VeryLowQueuePriortizable.html">VeryLowQueuePriortizable</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Structs.html">Structures</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Structs/Authentication.html">Authentication</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/Configuration.html">Configuration</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/Poll.html">Poll</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/Queues.html">Queues</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/Reachability.html">Reachability</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/Retry.html">Retry</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/SessionManager.html">SessionManager</a>
              </li>
              <li class="nav-group-task">
                <a href="Structs/Validation.html">Validation</a>
              </li>
            </ul>
          </li>
          <li class="nav-group-name">
            <a href="Typealiases.html">Type Aliases</a>
            <ul class="nav-group-tasks">
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire11DataRequesta">DataRequest</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire12DataResponsea">DataResponse</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire22DataResponseSerializera">DataResponseSerializer</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire15DownloadRequesta">DownloadRequest</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire16DownloadResponsea">DownloadResponse</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire10HTTPHeadera">HTTPHeader</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire11HTTPHeadersa">HTTPHeaders</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire10HTTPMethoda">HTTPMethod</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire12JSONEncodinga">JSONEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire20JSONParameterEncodera">JSONParameterEncoder</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire17MultipartFormDataa">MultipartFormData</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire26NetworkReachabilityManagera">NetworkReachabilityManager</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire16ParameterEncodera">ParameterEncoder</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire17ParameterEncodinga">ParameterEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire7RFErrora">RFError</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire8RFResulta">RFResult</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire7Requesta">Request</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire7Sessiona">Session</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire30URLEncodedFormParameterEncodera">URLEncodedFormParameterEncoder</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire11URLEncodinga">URLEncoding</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire21URLRequestConvertiblea">URLRequestConvertible</a>
              </li>
              <li class="nav-group-task">
                <a href="Typealiases.html#/s:9Restofire13UploadRequesta">UploadRequest</a>
              </li>
            </ul>
          </li>
        </ul>
      </nav>
      <article class="main-content">
        <section>
          <section class="section">
            <h1>Protocols</h1>
            <p>The following protocols are available globally.</p>

          </section>
          <section class="section task-group-section">
            <div class="task-group">
              <ul>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire22ArrayParameterEncodingP"></a>
                    <a name="//apple_ref/swift/Protocol/ArrayParameterEncoding" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire22ArrayParameterEncodingP">ArrayParameterEncoding</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>A type used to define how a set of array parameters are applied to a <code>URLRequest</code>.</p>

                        <a href="Protocols/ArrayParameterEncoding.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">ArrayParameterEncoding</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire15BaseRequestableP"></a>
                    <a name="//apple_ref/swift/Protocol/BaseRequestable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire15BaseRequestableP">BaseRequestable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an abstract <code>BaseRequestable</code>.</p>

<p>Instead implement Requestable, Downloadable, FileUploadable, DataUploadable, StreamUploadable,
MultipartUplodable protocols.</p>

                        <a href="Protocols/BaseRequestable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">BaseRequestable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Configurable.html">Configurable</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/ResponseSerializable.html">ResponseSerializable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire12ConfigurableP"></a>
                    <a name="//apple_ref/swift/Protocol/Configurable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire12ConfigurableP">Configurable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>Configurable</code> for Alamofire Services.
<code><a href="Structs/Configuration.html#/s:9Restofire13ConfigurationV7defaultACvpZ">Configuration.default</a></code> by default.</p>
<h3 id='create-custom-configurable' class='heading'>Create custom Configurable</h3>
<pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">HTTPBinConfigurable</span><span class="p">:</span> <span class="kt">Configurable</span> <span class="p">{</span> <span class="p">}</span>

<span class="kd">extension</span> <span class="kt">HTTPBinConfigurable</span> <span class="p">{</span>

  <span class="k">var</span> <span class="nv">configuration</span><span class="p">:</span> <span class="kt">Configuration</span> <span class="p">{</span>
    <span class="k">var</span> <span class="nv">config</span> <span class="o">=</span> <span class="kt">Configuration</span><span class="p">()</span>
    <span class="n">config</span><span class="o">.</span><span class="n">host</span> <span class="o">=</span> <span class="s">"httpbin.org"</span>
    <span class="k">return</span> <span class="n">config</span>
  <span class="p">}</span>

<span class="p">}</span>
</code></pre>

                        <a href="Protocols/Configurable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Configurable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Authenticable.html">Authenticable</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/Pollable.html">Pollable</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/Qosable.html">Qosable</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/QueuePriortizable.html">QueuePriortizable</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/Queueable.html">Queueable</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/Reachable.html">Reachable</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/RequestDelegate.html">RequestDelegate</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/Retryable.html">Retryable</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/SessionManagable.html">SessionManagable</a></span><span class="p">,</span> <span class="kt"><a href="Protocols/Validatable.html">Validatable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire13AuthenticableP"></a>
                    <a name="//apple_ref/swift/Protocol/Authenticable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire13AuthenticableP">Authenticable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>Authenticable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/Authenticable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Authenticable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire11CancellableP"></a>
                    <a name="//apple_ref/swift/Protocol/Cancellable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire11CancellableP">Cancellable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Protocol to define the opaque type returned from a request.</p>

                        <a href="Protocols/Cancellable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Cancellable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire8PollableP"></a>
                    <a name="//apple_ref/swift/Protocol/Pollable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire8PollableP">Pollable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>Pollable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/Pollable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Pollable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire7QosableP"></a>
                    <a name="//apple_ref/swift/Protocol/Qosable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire7QosableP">Qosable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>Qosable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/Qosable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Qosable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire22UserInteractiveQosableP"></a>
                    <a name="//apple_ref/swift/Protocol/UserInteractiveQosable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire22UserInteractiveQosableP">UserInteractiveQosable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>UserInteractiveQosable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/UserInteractiveQosable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">UserInteractiveQosable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Qosable.html">Qosable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire20UserInitiatedQosableP"></a>
                    <a name="//apple_ref/swift/Protocol/UserInitiatedQosable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire20UserInitiatedQosableP">UserInitiatedQosable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>UserInitiatedQosable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/UserInitiatedQosable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">UserInitiatedQosable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Qosable.html">Qosable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire14DefaultQosableP"></a>
                    <a name="//apple_ref/swift/Protocol/DefaultQosable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire14DefaultQosableP">DefaultQosable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>DefaultQosable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/DefaultQosable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">DefaultQosable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Qosable.html">Qosable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire14UtilityQosableP"></a>
                    <a name="//apple_ref/swift/Protocol/UtilityQosable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire14UtilityQosableP">UtilityQosable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>UtilityQosable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/UtilityQosable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">UtilityQosable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Qosable.html">Qosable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire17BackgroundQosableP"></a>
                    <a name="//apple_ref/swift/Protocol/BackgroundQosable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire17BackgroundQosableP">BackgroundQosable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>BackgroundQosable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/BackgroundQosable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">BackgroundQosable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Qosable.html">Qosable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire17QueuePriortizableP"></a>
                    <a name="//apple_ref/swift/Protocol/QueuePriortizable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire17QueuePriortizableP">QueuePriortizable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>QueuePriortizable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/QueuePriortizable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">QueuePriortizable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire25VeryHighQueuePriortizableP"></a>
                    <a name="//apple_ref/swift/Protocol/VeryHighQueuePriortizable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire25VeryHighQueuePriortizableP">VeryHighQueuePriortizable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>VeryHighQueuePriortizable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/VeryHighQueuePriortizable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">VeryHighQueuePriortizable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/QueuePriortizable.html">QueuePriortizable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire21HighQueuePriortizableP"></a>
                    <a name="//apple_ref/swift/Protocol/HighQueuePriortizable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire21HighQueuePriortizableP">HighQueuePriortizable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>HighQueuePriortizable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/HighQueuePriortizable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">HighQueuePriortizable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/QueuePriortizable.html">QueuePriortizable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire23NormalQueuePriortizableP"></a>
                    <a name="//apple_ref/swift/Protocol/NormalQueuePriortizable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire23NormalQueuePriortizableP">NormalQueuePriortizable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>NormalQueuePriortizable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/NormalQueuePriortizable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">NormalQueuePriortizable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/QueuePriortizable.html">QueuePriortizable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire20LowQueuePriortizableP"></a>
                    <a name="//apple_ref/swift/Protocol/LowQueuePriortizable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire20LowQueuePriortizableP">LowQueuePriortizable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>LowQueuePriortizable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/LowQueuePriortizable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">LowQueuePriortizable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/QueuePriortizable.html">QueuePriortizable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire24VeryLowQueuePriortizableP"></a>
                    <a name="//apple_ref/swift/Protocol/VeryLowQueuePriortizable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire24VeryLowQueuePriortizableP">VeryLowQueuePriortizable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an <code>VeryLowQueuePriortizable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/VeryLowQueuePriortizable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">VeryLowQueuePriortizable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/QueuePriortizable.html">QueuePriortizable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire9QueueableP"></a>
                    <a name="//apple_ref/swift/Protocol/Queueable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire9QueueableP">Queueable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>Queueable</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/Queueable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Queueable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire9ReachableP"></a>
                    <a name="//apple_ref/swift/Protocol/Reachable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire9ReachableP">Reachable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code><a href="Structs/Reachability.html">Reachability</a></code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/Reachable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Reachable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire15RequestDelegateP"></a>
                    <a name="//apple_ref/swift/Protocol/RequestDelegate" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire15RequestDelegateP">RequestDelegate</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>RequestDelegate</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/RequestDelegate.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">RequestDelegate</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire20ResponseSerializableP"></a>
                    <a name="//apple_ref/swift/Protocol/ResponseSerializable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire20ResponseSerializableP">ResponseSerializable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>Alamofire.DataResponseSerializer</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/ResponseSerializable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">ResponseSerializable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire9RetryableP"></a>
                    <a name="//apple_ref/swift/Protocol/Retryable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire9RetryableP">Retryable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code><a href="Structs/Retry.html">Retry</a></code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/Retryable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Retryable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire16SessionManagableP"></a>
                    <a name="//apple_ref/swift/Protocol/SessionManagable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire16SessionManagableP">SessionManagable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>Alamofire.Session</code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/SessionManagable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">SessionManagable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire8SyncableP"></a>
                    <a name="//apple_ref/swift/Protocol/Syncable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire8SyncableP">Syncable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Protocols/Syncable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Syncable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire11ValidatableP"></a>
                    <a name="//apple_ref/swift/Protocol/Validatable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire11ValidatableP">Validatable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code><a href="Structs/Validation.html">Validation</a></code> that is associated with <code><a href="Protocols/Requestable.html">Requestable</a></code>.</p>

                        <a href="Protocols/Validatable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Validatable</span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire16CoreDataSyncableP"></a>
                    <a name="//apple_ref/swift/Protocol/CoreDataSyncable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire16CoreDataSyncableP">CoreDataSyncable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Undocumented</p>

                        <a href="Protocols/CoreDataSyncable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">CoreDataSyncable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Syncable.html">Syncable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire14DataUploadableP"></a>
                    <a name="//apple_ref/swift/Protocol/DataUploadable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire14DataUploadableP">DataUploadable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>DataUploadable</code> for Alamofire.</p>
<h3 id='create-custom-datauploadable' class='heading'>Create custom DataUploadable</h3>
<pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">HTTPBinUploadService</span><span class="p">:</span> <span class="kt">DataUploadable</span> <span class="p">{</span>

    <span class="kd">typealias</span> <span class="kt">Response</span> <span class="o">=</span> <span class="kt">Data</span>

    <span class="k">var</span> <span class="nv">path</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="s">"post"</span>
    <span class="k">var</span> <span class="nv">data</span><span class="p">:</span> <span class="kt">Data</span> <span class="o">=</span> <span class="p">{</span>
        <span class="k">return</span> <span class="s">"Lorem ipsum dolor sit amet, consectetur adipiscing elit."</span>
           <span class="o">.</span><span class="nf">data</span><span class="p">(</span><span class="nv">using</span><span class="p">:</span> <span class="o">.</span><span class="n">utf8</span><span class="p">,</span> <span class="nv">allowLossyConversion</span><span class="p">:</span> <span class="kc">false</span><span class="p">)</span><span class="o">!</span>
    <span class="p">}()</span>

<span class="p">}</span>
</code></pre>

                        <a href="Protocols/DataUploadable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">DataUploadable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Uploadable.html">Uploadable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire12DownloadableP"></a>
                    <a name="//apple_ref/swift/Protocol/Downloadable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire12DownloadableP">Downloadable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>Downloadable</code> for Restofire.</p>
<pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">HTTPBinDownloadService</span><span class="p">:</span> <span class="kt">Downloadable</span> <span class="p">{</span>

    <span class="kd">typealias</span> <span class="kt">Response</span> <span class="o">=</span> <span class="kt">Data</span>

    <span class="k">var</span> <span class="nv">path</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="s">"bytes/</span><span class="se">\(</span><span class="mi">4</span> <span class="o">*</span> <span class="mi">1024</span> <span class="o">*</span> <span class="mi">1024</span><span class="se">)</span><span class="s">"</span>
    <span class="k">var</span> <span class="nv">destination</span><span class="p">:</span> <span class="kt">DownloadFileDestination</span><span class="p">?</span>

    <span class="nf">init</span><span class="p">(</span><span class="nv">destination</span><span class="p">:</span> <span class="kd">@escaping</span> <span class="kt">DownloadFileDestination</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">self</span><span class="o">.</span><span class="n">destination</span> <span class="o">=</span> <span class="n">destination</span>
    <span class="p">}</span>

<span class="p">}</span>
</code></pre>

                        <a href="Protocols/Downloadable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Downloadable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/BaseRequestable.html">BaseRequestable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire14FileUploadableP"></a>
                    <a name="//apple_ref/swift/Protocol/FileUploadable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire14FileUploadableP">FileUploadable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>FileUploadable</code> for Alamofire.</p>
<h3 id='create-custom-fileuploadable' class='heading'>Create custom FileUploadable</h3>
<pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">HTTPBinUploadService</span><span class="p">:</span> <span class="kt">FileUploadable</span> <span class="p">{</span>

    <span class="kd">typealias</span> <span class="kt">Response</span> <span class="o">=</span> <span class="kt">Data</span>

    <span class="k">var</span> <span class="nv">path</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="s">"post"</span>
    <span class="k">let</span> <span class="nv">url</span><span class="p">:</span> <span class="kt">URL</span> <span class="o">=</span> <span class="kt">FileManager</span><span class="o">.</span><span class="nf">url</span><span class="p">(</span><span class="nv">forResource</span><span class="p">:</span> <span class="s">"rainbow"</span><span class="p">,</span> <span class="nv">withExtension</span><span class="p">:</span> <span class="s">"png"</span><span class="p">)</span>

<span class="p">}</span>
</code></pre>

                        <a href="Protocols/FileUploadable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">FileUploadable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Uploadable.html">Uploadable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire19MultipartUploadableP"></a>
                    <a name="//apple_ref/swift/Protocol/MultipartUploadable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire19MultipartUploadableP">MultipartUploadable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>MultipartUploadable</code> for Alamofire.</p>
<h3 id='create-custom-multipartuploadable' class='heading'>Create custom MultipartUploadable</h3>
<pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">HTTPBinUploadService</span><span class="p">:</span> <span class="kt">MultipartUploadable</span> <span class="p">{</span>

    <span class="kd">typealias</span> <span class="kt">Response</span> <span class="o">=</span> <span class="kt">Data</span>

    <span class="k">var</span> <span class="nv">path</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="s">"post"</span>
    <span class="k">var</span> <span class="nv">multipartFormData</span><span class="p">:</span> <span class="p">(</span><span class="kt">MultipartFormData</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kt">Void</span> <span class="o">=</span> <span class="p">{</span> <span class="n">multipartFormData</span> <span class="k">in</span>
        <span class="n">multipartFormData</span><span class="o">.</span><span class="nf">append</span><span class="p">(</span><span class="s">"français"</span><span class="o">.</span><span class="nf">data</span><span class="p">(</span><span class="nv">using</span><span class="p">:</span> <span class="o">.</span><span class="n">utf8</span><span class="p">)</span><span class="o">!</span><span class="p">,</span> <span class="nv">withName</span><span class="p">:</span> <span class="s">"french"</span><span class="p">)</span>
        <span class="n">multipartFormData</span><span class="o">.</span><span class="nf">append</span><span class="p">(</span><span class="s">"日本語"</span><span class="o">.</span><span class="nf">data</span><span class="p">(</span><span class="nv">using</span><span class="p">:</span> <span class="o">.</span><span class="n">utf8</span><span class="p">)</span><span class="o">!</span><span class="p">,</span> <span class="nv">withName</span><span class="p">:</span> <span class="s">"japanese"</span><span class="p">)</span>
    <span class="p">}</span>

<span class="p">}</span>
</code></pre>

                        <a href="Protocols/MultipartUploadable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">MultipartUploadable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Uploadable.html">Uploadable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire11RequestableP"></a>
                    <a name="//apple_ref/swift/Protocol/Requestable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire11RequestableP">Requestable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>Requestable</code> for Restofire.</p>
<h3 id='create-custom-requestable' class='heading'>Create custom Requestable</h3>
<pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">HTTPBinGETService</span><span class="p">:</span> <span class="kt">Requestable</span> <span class="p">{</span>

    <span class="kd">typealias</span> <span class="kt">Response</span> <span class="o">=</span> <span class="kt">Data</span>
    <span class="k">var</span> <span class="nv">path</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="s">"get"</span>

<span class="p">}</span>
</code></pre>

                        <a href="Protocols/Requestable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Requestable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/BaseRequestable.html">BaseRequestable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire16StreamUploadableP"></a>
                    <a name="//apple_ref/swift/Protocol/StreamUploadable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire16StreamUploadableP">StreamUploadable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents a <code>StreamUploadable</code> for Alamofire.</p>
<h3 id='create-custom-streamuploadable' class='heading'>Create custom StreamUploadable</h3>
<pre class="highlight swift"><code><span class="kd">protocol</span> <span class="kt">HTTPBinUploadService</span><span class="p">:</span> <span class="kt">StreamUploadable</span> <span class="p">{</span>

    <span class="kd">typealias</span> <span class="kt">Response</span> <span class="o">=</span> <span class="kt">Data</span>

    <span class="k">var</span> <span class="nv">path</span><span class="p">:</span> <span class="kt">String</span><span class="p">?</span> <span class="o">=</span> <span class="s">"post"</span>
    <span class="k">var</span> <span class="nv">stream</span><span class="p">:</span> <span class="kt">InputStream</span> <span class="o">=</span> <span class="kt">InputStream</span><span class="p">(</span><span class="nv">url</span><span class="p">:</span> <span class="kt">FileManager</span><span class="o">.</span><span class="n">imageURL</span><span class="p">)</span><span class="o">!</span>

<span class="p">}</span>
</code></pre>

                        <a href="Protocols/StreamUploadable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">StreamUploadable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/Uploadable.html">Uploadable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
                <li class="item">
                  <div>
                    <code>
                    <a name="/s:9Restofire10UploadableP"></a>
                    <a name="//apple_ref/swift/Protocol/Uploadable" class="dashAnchor"></a>
                    <a class="token" href="#/s:9Restofire10UploadableP">Uploadable</a>
                    </code>
                  </div>
                  <div class="height-container">
                    <div class="pointer-container"></div>
                    <section class="section">
                      <div class="pointer"></div>
                      <div class="abstract">
                        <p>Represents an abstract <code>Uploadable</code>.</p>

<p>Instead implement FileUploadable, DataUploadable, StreamUploadable,
AMultipartUplodable protocols.</p>

                        <a href="Protocols/Uploadable.html" class="slightly-smaller">See more</a>
                      </div>
                      <div class="declaration">
                        <h4>Declaration</h4>
                        <div class="language">
                          <p class="aside-title">Swift</p>
                          <pre class="highlight swift"><code><span class="kd">public</span> <span class="kd">protocol</span> <span class="kt">Uploadable</span> <span class="p">:</span> <span class="kt"><a href="Protocols/BaseRequestable.html">BaseRequestable</a></span></code></pre>

                        </div>
                      </div>
                    </section>
                  </div>
                </li>
              </ul>
            </div>
          </section>
        </section>
        <section id="footer">
          <p>&copy; 2020 <a class="link" href="https://github.com/Restofire/Restofire" target="_blank" rel="external">Rahul Katariya</a>. All rights reserved. (Last updated: 2020-02-19)</p>
          <p>Generated by <a class="link" href="https://github.com/realm/jazzy" target="_blank" rel="external">jazzy ♪♫ v0.13.1</a>, a <a class="link" href="https://realm.io" target="_blank" rel="external">Realm</a> project.</p>
        </section>
      </article>
    </div>
  </body>
</div>
</html>
